package guava;

import com.google.common.cache.CacheBuilder;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Optional;

public class CacheTest {


  public static void main(String[] args) {

      System.out.println(Math.abs(1571647609734L - 1571647609739L));
      System.out.println(new Date(1571647609734L));
      CacheBuilder.newBuilder().build();

      System.out.println(System.getProperty("java.library.path"));

      new File("/Users/dingjianfeng/test222/444444/111.txt").getParentFile().mkdirs();

      List l = null;

      List l2 = Arrays.asList("1", "2");
      System.out.println(Optional.ofNullable(l).orElse(new ArrayList()));

      List lll = Optional.ofNullable(l2).orElse(new ArrayList());
      System.out.println();

  }
}
